package com.jzy.stock.kufangkuqu.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by JZZK on 2022/7/11.
 */
@Data
public class AddVo {

    @NotBlank(message = "库区编码不能为空")
    private String code;//库区编码

    @NotBlank(message = "库区名称不能为空")
    private String name;//库区名称

    @NotBlank(message = "库区描述不能为空")
    private String remark;//库区描述

    @NotNull(message = "库区状态不能为空")
    private Boolean status;//库区状态

    private List<BusinessAttributeVo> businessAttribute;//库区业务属性

    @NotBlank(message = "库房编码不能为空")
    private String wareHouseCode;//库房编码

    @NotNull(message = "库房id不能为空")
    private Integer wareHouseId;//库房id

    @NotBlank(message = "库房名称不能为空")
    private String wareHouseName;//库房名称

    //@NotBlank(message = "库房描述不能为空")
    private String wareHouseRemark;//库房描述

    private Boolean vipStorageSection;//库区管理属性：vip库区
    private Boolean warehouseManagement;//库区管理属性：实行库位管理
    private Boolean wmsIntegrate;//库区管理属性：与WMS集成

}
